import hello from "./hello";
import banner from "./assets/imgs/banner.png";
import svg from "./assets/imgs/箭头细.svg";
import txt from "./assets/1.txt";
import "./assets/1.css";
hello();
async function fn(){
  let w = await '2'
  return w
}
fn()
const img = new Image();
img.src = banner;
img.onload = () => {
  console.log("图片加载成功");
  document.body.appendChild(img);
};
const img2 = new Image();
img2.src = svg;
img2.onload = () => {
  console.log("图片加载成功");
  document.body.appendChild(img2);
};

console.log(txt, "text");
const div = document.createElement("div");
div.classList.add("box");
document.body.appendChild(div);
console.log(div,'div');
